/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.emergency.command.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.hopes.boss.common.entity.BaseLogicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 应急结案归档记录
 *
 * @author cx
 * @date 2024-01-23 16:24:19
 */
@Data
@TableName("er_documentation_record")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "应急结案归档记录")
public class ErDocumentationRecordEntity extends BaseLogicEntity {

    private static final long serialVersionUID = 1L;


	/**
	* 标识
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="标识")
    private Long id;

	/**
	* 事故标识
	*/
    @Schema(description="事故标识")
    private Long accidentId;

	/**
	* 总指挥
	*/
    @Schema(description="总指挥")
    private String commander;

	/**
	* 结案时间
	*/
    @Schema(description="结案时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;

	/**
	* 结案说明
	*/
    @Schema(description="结案说明")
    private String closeDesc;

	/**
	* 其他附件
	*/
    @Schema(description="其他附件")
    private String otherFile;

	/**
	* 归档时间
	*/
    @Schema(description="归档时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date archiveTime;

	/**
	* 归档录入人
	*/
    @Schema(description="归档录入人")
    private Long archiveUserId;

	/**
	* 机构ID
	*/
    @Schema(description="机构ID")
    private Long orgId;

}